package springCache;

public class CatProxy extends Cat {

    private final Cat target;

    public CatProxy(Cat cat) {
        this.target = cat;
    }

    public String getName() {
        return "[" + this.target.getName() + "]";
    }

}
